from schemas import ma
from models.timetables import Timetable


class TimetableSchema(ma.SQLAlchemySchema):
    class Meta:
        model = Timetable
    name = ma.auto_field()
    description = ma.auto_field()
    starttime = ma.auto_field()
    endtime = ma.auto_field()

